import { S } from '../../s';
import { IPSChartPosition } from './ipschart-position';
import { PSDEChartCoordinateSystemControlImplBase } from './psdechart-coordinate-system-control-impl-base';

export class PSDEChartCoordinateSystemControlImplBase2
  extends PSDEChartCoordinateSystemControlImplBase
  implements IPSChartPosition
{
  get bottom(): IModel {
    return this.M.bottom;
  }

  get height(): IModel {
    return this.M.height;
  }

  get left(): IModel {
    return this.M.left;
  }

  get right(): IModel {
    return this.M.right;
  }

  get top(): IModel {
    return this.M.top;
  }

  get width(): IModel {
    return this.M.width;
  }
  get cls(): string {
    return 'PSDEChartCoordinateSystemControlImplBase2';
  }
  instanceof(cls: string): boolean {
    if (cls == S._df) return true;
    return super.instanceof(cls);
  }
}
